# This file is created by Bao Anh juste for reconfigure rapidly
import os

os.system("aclocal")
os.system("automake")
os.system("autoconf")
os.system("./configure")
os.system("make")
os.system("sudo make install")
os.system("sudo chown -R www-data.www-data /opt/cds-invenio")
os.system("sudo -u www-data /opt/cds-invenio/bin/inveniocfg --update-all")
